package ace.module.product.api.model.input;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.PositiveOrZero;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

/**
 * .
 * @author Caspar
 *
 */
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
@Schema(title = "商品sku销量")
public class PmsProductSalesQuantityInput {

  @NotNull
  @PositiveOrZero
  @Schema(title = "商品sku id")
  private Long skuId;
  @NotNull
  @PositiveOrZero
  @Schema(title = "数量")
  private Long quantity;
}
